package cn.arikeky.user.mapper;

import cn.arikeky.org.vo.LoginVo;
import cn.arikeky.user.domain.Logininfo;
import cn.arikeky.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author arikeky
 * @since 2022-10-20
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo loadByUsernameAndType(@Param("username") String username, @Param("type") Integer type);

    Logininfo findByUserId(Long userId);
}
